<!DOCTYPE HTML>
<html lang="zh-cn">
<head>
	<base href="http://test.youxiduo.com/iweb/year_middle_star/" />
	<!--<base href="http://resource.youxiduo.com/special/shihou/promoter/3270/" />-->
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name = "format-detection" content = "telephone=no">
	<meta name="viewport"  content="width=device-width,user-scalable=no">
	<title>2017狮吼直播星盛典</title>
	<meta name="keywords" content="狮吼,狮吼直播,手游直播,双投屏直播" />
	<meta name="description" content="狮吼 - 4亿手游玩家的直播平台、狮吼是游戏多旗下手游直播平台，支持双投屏直播的移动端平台，边玩边播，分享快乐！狮吼直播，随时随地录屏直播，语音弹幕独特玩法，各路主播游戏大神齐聚；电竞赛事、综艺娱乐、户外精彩，一切改变尽在 狮吼- 4亿手游玩家的直播平台。" />
	<link rel="stylesheet" href="static/css/base.css" />
	<link rel="stylesheet" href="static/css/style.css" />
	<script src="static/js/jquery-1.7.1.min.js"></script>
	<script type="text/javascript" src="static/js/util.js" ></script>
	<script language="JavaScript">
	var from_user_id = '244637';
	$(function() {
	    var time = 1;
	    $(".share").click(function()
		{
	        if (from_user_id == "0")
			{
	            $(".pop").fadeIn(200);
	            setTimeout('$(".pop").hide();window.location.href="shihoutv://route?jump_type=120";', time * 1000);
	        }
	        else
			{
	            var web_share = {
	                "qq": {
	                    "url": share_url,
	                    "img": share_icon,
	                    "title": share_title,
	                    "subtitle": share_desc
	                },
	                "wx_person": {
	                    "url": share_url,
	                    "img": share_icon,
	                    "title": share_title,
	                    "subtitle": share_desc
	                },
	                "wx_group": {
	                    "url": share_url,
	                    "img": share_icon,
	                    "title": share_title,
	                    "subtitle": share_desc 
	                },
	                "wb": {
	                    "url": share_url,
	                    "img": share_icon,
	                    "title": share_title,
	                    "subtitle": share_desc
	                }
	            };
	
	            if (typeof(window.lion) != "undefined" && typeof(window.lion.web_share) == 'function')
				{
	                window.lion.web_share(JSON.stringify(web_share));
	            }
	        }
	    })
	})
	</script>
</head>
<body>
	<div class="pop">请登录后再来参加活动吧~</div>
	<div class="wrap">
		<div class="header">
	    	<img src="static/img/bg1.jpg"/>
	        <a class="share"><img src="static/img/share.png"/></a>
	    </div>
	    <img src="static/img/bg2.jpg"/>
	    <div id="phb1" class="phb1">
	    	<!--未登录--->
	    	<h2 id="loginH21">请登录后查看个人排名</h2>
	        <!--已登录--->
	        <h2 id="loginRank1">
	        	<a>魅力之星排名：无</a>
	            <a>真爱之星排名：无</a>
	        </h2>
	        <ul>
	        </ul>
	        <div class="header zk">
	        	<img src="static/img/zkbg.jpg"/>
	            <a><img src="static/img/zhankai.jpg"/></a>
	        </div>
	    </div>
	   	<img src="static/img/bg3.jpg"/>
	    <img src="static/img/bg4.jpg"/>
	    <img src="static/img/bg7.jpg"/>
	    <div id="phb3" class="phb1">
	    	<!--未登录--->
        	<h2 id="loginH23">请登录后查看个人排名</h2>
	        <!--已登录--->
	        <h2 id="loginRank3">
	        	<a>颜值之星排名：无</a>
	            <a>狮吼星探排名：无</a>
	        </h2>
	        <ul>
	        </ul>
	        <div class="header zk">
	        	<img src="static/img/zkbg.jpg"/>
	            <a><img src="static/img/zhankai.jpg"/></a>
	        </div>
	    </div>
	    
	    <img src="static/img/bg8.jpg"/>
	    <img src="static/img/bg9.jpg"/>
	    <img src="static/img/bg4-1.jpg"/>
	    
	    <div id="phb2" class="phb1">
	    	<!--未登录--->
	    	<h2 id="loginH22">请登录后查看个人排名</h2>
	        <!--已登录--->
	        <h2 id="loginRank2">
	        	<a>魅力之星排名：无</a>
	            <a>真爱之星排名：无</a>
	        </h2>
	        <ul>
	        </ul>
	        <div class="header zk">
	        	<img src="static/img/zkbg.jpg"/>
	            <a><img src="static/img/zhankai.jpg"/></a>
	        </div>
	    </div>
	    
	    <img src="static/img/bg5.jpg"/>
	    <img src="static/img/bg6.jpg"/>
	</div>
	
</body>
</html>
<script>
	var util;
	$( function(){
		util = new Util();
		$(".phb1").each(function()
		{
			var zk    = $(this).find(".zk");
			var Onclick = true;
			zk.bind("click",function()
			{
				if(Onclick){
					$(this).find("a img").attr("src","static/img/shouqi.jpg");
					Onclick = false;	
				}else{	
					$(this).find("a img").attr("src","static/img/zhankai.jpg");
					Onclick = true;	
				}
				$(this).siblings("ul").find(".hide").toggle(300);
			});
		})
		/*$('.zk').click(function(){
			var Onclick = true;
			if(Onclick){
				$(this).find("a img").attr("src","static/img/shouqi.jpg");
				Onclick = false;	
			}else{	
				$(this).find("a img").attr("src","static/img/zhankai.jpg");
				Onclick = true;	
			}
			$(this).siblings("ul").find(".hide").toggle(300);
		});*/
		if (from_user_id == "0")
		{
            $('#loginH21').show();
            $('#loginRank1').hide();
            $('#loginH22').show();
            $('#loginRank2').hide();
            $('#loginH23').show();
            $('#loginRank3').hide();
        }
        else
		{
			$('#loginH21').hide();
	        $('#loginRank1').show();
	        $('#loginH22').hide();
	        $('#loginRank2').show();
	        $('#loginH23').hide();
	        $('#loginRank3').show();
		}
		
		
		util.setRankList(0);
		util.setUserRank(from_user_id);
	});
</script>